Skip to content

list command was redundant with history command#115

Merged
tleonhardt merged 4 commits intomasterfrom
redundant_commands
Jun 3, 2017
Merged

list command was redundant with history command#115
tleonhardt merged 4 commits intomasterfrom
redundant_commands

Conversation

@tleonhardt
Copy link
Copy Markdown
Member

The list command has been removed since it did pretty much the same thing as the history command.

The feature from the list command to display a "span" of history items ranging from a start index to an end index has been added to the history command. The history command already supported all other features of the list command.

In the process, a bug which caused a crash when specifying an end index but not a start index for the span has been fixed.

Help, documentation, and unit tests have been updated accordingly.

Also made some minor updates to the cmdenvironment command and updated the CHANGES.md file.

This closes #112

The extra functionality of listing a span (slice) of history items present in the list command has been incorporated into the existing history command and the list command has been removed.

Unit tests have been updated accordingly.

In the process a bug was fixed that was causing a crash if and end was supplied to the span but not a start.
Updated these to reflect that the list command has been removed
It no longer displays settable parameters since this functionality was redundant since those are displayed with either set or show.

It now shows additional global settings for parsing @options commands.

In the future a few more things should probably be displayed here related to parameters which are not settable at runtime.
@tleonhardt tleonhardt added this to the 0.7.3 milestone Jun 3, 2017
@tleonhardt tleonhardt self-assigned this Jun 3, 2017
@tleonhardt tleonhardt merged commit ccef0b4 into master Jun 3, 2017
@tleonhardt tleonhardt deleted the redundant_commands branch June 3, 2017 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

history and list commands are largely redundant

1 participant